package templatemethod.general;

/**
 * @Author：LJ
 * @Description：
 * @Date: 2017/11/27
 * @Modified By:
 */
public class Concrete1 extends AbstractClass {
    @Override
    public void doSomething() {
        System.out.println("Concrete1 doSomething");
    }

    @Override
    public void doSomething1() {
        System.out.println("Concrete1 doSomething1");
    }

    //覆写了父类的isAlarm
    @Override
    protected boolean isAlarm() {
        return false;
    }
}
